@if "%~1"=="" goto :badend
@echo "%~d0%~p0"
@echo "%~f1\Modules"
mklink /j "%~f1\Modules\Downplay.Mechanics" "%~d0%~p0Downplay.Mechanics"
mklink /j "%~f1\Modules\Downplay.Alchemy" "%~d0%~p0Downplay.Alchemy"
mklink /j "%~f1\Modules\Downplay.Plumbing" "%~d0%~p0Downplay.Plumbing"
mklink /j "%~f1\Modules\Downplay.Gravity" "%~d0%~p0Downplay.Gravity"
mklink /j "%~f1\Modules\Downplay.Relativity" "%~d0%~p0Downplay.Relativity"
mklink /j "%~f1\Modules\Downplay.Origami" "%~d0%~p0Downplay.Origami"
mklink /j "%~f1\Modules\Downplay.Formula" "%~d0%~p0Downplay.Formula"
mklink /j "%~f1\Modules\Downplay.Quanta" "%~d0%~p0Downplay.Quanta"
mklink /j "%~f1\Modules\Downplay.Prototypes.Lens" "%~d0%~p0Downplay.Prototypes.Lens"
mklink /j "%~f1\Modules\Downplay.Theory.Economics" "%~d0%~p0Downplay.Theory.Economics"
mklink /j "%~f1\Modules\Downplay.Theory.Identity" "%~d0%~p0Downplay.Theory.Identity"
mklink /j "%~f1\Modules\Downplay.Theory.Cartography" "%~d0%~p0Downplay.Theory.Cartography"
goto :end

:badend
@echo This will create symlinks for the Science projects into your Orchard Modules folder.
@echo It has to be run from the command line.
@echo "Syntax: CreateSymbolicLinks <path-to-Orchard.Web>"
:end
pause
